package edu.sctu.practice.class02.shilaihong.text.text08;

/**
 * Created by admin on 2015/10/14.
 */
public class Truck extends Vehicles {
    public float load;

    public void showTruck() {
        System.out.println("I am a" + this.brand + "颜色" + this.color + "可载重：" + this.load + "吨");
    }

    public Truck(String a, String b, int f) {
        super(a, b);
        this.load = f;
    }


}
